Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core(tags-blocking-first-paint): ignore malformed link tags #15489

Merged
merged 2 commits into from
Sep 21, 2023

Conversation

adamraine
Copy link
Member

This was one of the errors caught be sentry. A malformed link tag on https://www.iguaracu.pr.gov.br/index.php?mod=466&idConcurso=9 caused the main document request to be marked as render blocking. This is because an empty href attribute on a link tag gets resolved to the main document URL on el.href.

Since these malformed links do not actually request anything, they should not be considered render blocking.

@adamraine adamraine requested a review from a team as a code owner September 21, 2023 20:01
@adamraine adamraine requested review from connorjclark and removed request for a team September 21, 2023 20:01
@adamraine adamraine merged commit aa8d489 into main Sep 21, 2023
27 checks passed
@adamraine adamraine deleted the main-document-render-block-fix branch September 21, 2023 23:26
@GoogleChrome GoogleChrome deleted a comment from devillizard666 Sep 22, 2023
@GoogleChrome GoogleChrome deleted a comment from devillizard666 Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants